import PropTypes from "prop-types";
export default function NavItem({ url, children }) {
	return <a href={url}>{children}</a>;
}
NavItem.propTypes = {
	url: PropTypes.string.isRequired,
	children: PropTypes.string,
};
